body {
    font-family: -apple-system, BlinkMacSystemFont, San Francisco, Helvetica Neue, Helvetica, Ubuntu, Roboto, Noto, Segoe UI, Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    color: #111;
}

/* Início configuração responsive NAVBAR */
.navbar {
    /* overflow: hidden;*/
    background-color: lightgrey;
    position: fixed;
    /* Set the navbar to fixed position */
    top: 0;
    /* Position the navbar at the top of the page */
    width: 100%;
    /* Full width */
}

nav {
    background: lightgrey;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    padding: 0 100px;
}

nav .logo {
    color: #fff;
    padding-top: 4px;
    /*  font-size: 30px;*/
    font-weight: 600;
    letter-spacing: -1px;
}

nav .nav-items {
    display: flex;
    flex: 1;
    /*   padding: 0 0 0 40px; original*/
}

nav .nav-items li {
    list-style: none;
    padding: 0 15px;
}

nav .nav-items li a {
    color: rgb(0, 0, 0);
    /* font-size: 18px;*/
    font-weight: 500;
    text-decoration: none;
}

nav .nav-items li a:hover {
    color: darkgrey;
}

nav form {
    display: flex;
    height: 26px;
    padding: 2px;
    background: white;
    min-width: 18% !important;
    border-radius: 2px;
    border: 1px solid rgba(155, 155, 155, 0.2);
}

nav form .search-data {
    width: 100%;
    height: 100%;
    padding: 0 10px;
    color: rgb(0, 121, 26);
    /*  font-size: 17px;*/
    border: none;
    font-weight: 500;
    background: none;
}

nav form button {
    padding: 0 15px;
    color: #fff;
    /* font-size: 17px;*/
    background: #7e7e7e;
    border: none;
    border-radius: 2px;
    cursor: pointer;
}

nav form button:hover {
    background: #696969;
}

nav .menu-icon,
nav .cancel-icon,
nav .search-icon {
    width: 40px;
    text-align: center;
    margin: 0 50px;
    /*  font-size: 18px;*/
    color: rgb(199, 116, 83);
    cursor: pointer;
    display: none;
}

nav .menu-icon span,
nav .cancel-icon,
nav .search-icon {
    display: none;
}

@media (max-width: 1245px) {

    /*original 1245px*/
    nav {
        padding: 0 50px;
    }
}

@media (max-width: 1140px) {

    /*original 1140px*/
    nav {
        padding: 0px;
    }

    nav .logo {
        flex: 2;
        text-align: center;
    }

    nav .nav-items {
        position: fixed;
        z-index: 99;
        top: 70px;
        width: 96%;
        left: -100%;
        height: 80%;
        /*height: 100% original */
        /*  padding: 10px 50px 0 50px; original*/
        text-align: center;
        background: #808080;
        display: inline-block;
        transition: left 0.3s ease;
    }

    nav .nav-items.active {
        left: 2%;
        /*left: 10px; original */
    }

    nav .nav-items li {
        /* line-height: 40px; */
        margin: 30px 0;
    }

    /*
        nav .nav-items li a {
              font-size: 10px;
        }*/
    nav form {
        position: absolute;
        top: 80px;
        right: 50px;
        opacity: 0;
        pointer-events: none;
        transition: top 0.3s ease, opacity 0.1s ease;
    }

    nav form.active {
        top: 195px;
        opacity: 1;
        pointer-events: auto;
    }

    nav form:before {
        position: absolute;
        content: "";
        top: -13px;
        right: 0px;
        width: 0;
        height: 0;
        z-index: -1;
        border: 10px solid transparent;
        border-bottom-color: #8f8f8f;
        margin: -20px 0 0;
    }

    nav form:after {
        position: absolute;
        content: '';
        height: 60px;
        padding: 2px;
        background: #7c7c7c;
        border-radius: 2px;
        min-width: calc(100% + 20px);
        z-index: -2;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    nav .menu-icon {
        display: block;
    }

    nav .search-icon,
    nav .menu-icon span {
        display: block;
    }

    nav .menu-icon span.hide,
    nav .search-icon.hide {
        display: none;
    }

    nav .cancel-icon.show {
        display: block;
    }
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
    transform: translate(-50%, -50%);
}

.content header {
    /*  font-size: 30px;*/
    font-weight: 700;
}

.content .text {
    /* font-size: 30px;*/
    font-weight: 700;
}

.space {
    margin: 10px 0;
}

nav .logo.space {
    color: rgb(116, 116, 116);
    padding: 0 5px 0 0;
}

@media (max-width: 980px) {

    nav .menu-icon,
    nav .cancel-icon,
    nav .search-icon {
        margin: 0 20px;
    }

    nav form {
        right: 30px;
    }
}

@media (max-width: 350px) {

    nav .menu-icon,
    nav .cancel-icon,
    nav .search-icon {
        margin: 0 10px;
        /*   font-size: 16px;*/
    }
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.content header {
    /*  font-size: 30px;*/
    font-weight: 700;
}

.content .text {
    /* font-size: 30px;*/
    font-weight: 700;
}

.content .space {
    margin: 10px 0;
}


/* fim configuração responsive NAVBAR */



/**** inicio menu 1 - linha de menu Anos, Local/conteudo, Rate da foto ****/

.junto {
    display: inline-block;
    margin-left: 10px;
    /*  font-family: Tahoma, Verdana, Arial, sans-serif; 
        font-size: large; */
    margin-right: 20px;
}

div.scrollmenu {
    overflow: auto;
    width: 99%;
    white-space: nowrap;
    text-align: center;
    background: linear-gradient(90deg, rgba(160, 160, 160, 1) 0%, white 10%, white 90%, rgba(160, 160, 160, 1) 100%);
}

div.scrollmenu button {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

button.btn {
    background-color: transparent;
}

/**** Inicio configuração Imagem principal ****/

.mainContainer {
    margin-top: 120px;
    background-color: rgb(230, 230, 230);
    text-align: center;

}

.mainContainer img {
    width: 100%;
    height: auto;
}

/**** Fim configuração Imagem principal ****/

/**** Configuração da main caption ****/
#mainFigCaption {
    background-color: gainsboro;
    font-size: 1.1em;
    margin: auto;
    text-align: center;
    height: fit-content;
    margin: auto;
    box-shadow: rgba(0, 0, 0, 0.1) 0px -10px 10px inset, rgb(255, 255, 255) 0px 0px 0px 2px, rgba(0, 0, 0, 0.5) 0.3em 0.3em 1em;
}

/**** Início Configuração das 3 colunas principais das fotos ****/

.row {
    padding-left: 10%;
}

.column {
    float: left;
    width: 30%;
    height: 100%;
    text-align: center;
    margin: auto;
}

.row .column img:hover {
    cursor: zoom-in;
}


/**** Fim Configuração das 3 colunas principais das fotos ****/

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: rgb(61, 61, 61);
    color: white;
    text-align: center;
}

/**** início Style the active class, and buttons on mouse-over Button "Load More Images" */

.active {
    color: darkgreen;
    font-weight: bold;
    text-shadow: 2px 2px 2px grey;
}

.block {
    display: block;
    width: 100%;
    border: none;
    background-color: rgb(85, 179, 85);
    color: white;
    padding: 14px 28px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
}

.block:hover {
    background-color: #ddd;
    color: black;
}

/**** fim Style the active class, and buttons on mouse-over Button "Load More Images" */

#divModal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.zoomCaption {
    /*position: fixed;*/
    position: relative;
    text-align: center;
    /*  font-family: Tahoma, Verdana, Arial, sans-serif; 
        font-size: large; */
    color: rgb(41, 41, 41);
    top: 96%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    border: 5px;
    background-image: linear-gradient(to right, rgb(105, 105, 105), lightgrey 50%, rgb(105, 105, 105));
    /*background: linear-gradient(to right, lightgrey, rgb(105, 105, 105), lightgrey);*/
    -webkit-text-fill-color: transparent 25%;
    margin-left: 1%;
    margin-right: 1%;
    width: 50%;
    height: 2.5%;
    width: fit-content;
    height: fit-content;
    opacity: 0.8;
}


/*** Início Botão de troca imagem módulo zoom  tem de ser carregado depois do #zoom***/

.exitZoom {
    position: fixed;
    top: 5%;
    left: 95%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    border: 2px;
    border-color: darkslategrey;
    width: 40px;
    height: 46px;
}

.exitZoom span {
    font-size: xx-large;
    cursor: pointer;
    margin: 5px;
}

.zoomOuter p {
    font-size: small;
    margin: 5px;
}

.scrolLeft {
    position: fixed;
    top: 50%;
    left: 5%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    border: 2px;
    border-color: darkslategrey;
    width: 40px;
    height: 46px;
}

.scrolLeft span {
    font-size: xx-large;
    cursor: pointer;
    margin: 5px;
}

.scrolRight {
    position: fixed;
    top: 50%;
    left: 95%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    border: 2px;
    border-color: darkslategrey;
    width: 40px;
    height: 46px;
}

.scrolRight span {
    font-size: xx-large;
    cursor: pointer;
    margin: 5px;
}


/* fim Botão de troca imagem módulo zoom */


/*início de  Sub-menu*/

.dropbtn {
    background-color: lightgrey;
    color: black;
    border: none;
    /*  font-family: Tahoma, Verdana, Arial, sans-serif; */
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: darkgrey;
}

.modalAdvice {
    display: none;
    position: fixed;
    background: rgb(201, 201, 201);
    width: 60%;
    height: 70%;
    /* max-width: 100%;*/
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: scroll;
}

.columnAdv {
    float: left;
    text-align: center;
    margin: auto;
}

/* início Style the active class, and buttons on mouse-over Button "Load More Images" */

.active {
    color: darkgreen;
    font-weight: bold;
    text-shadow: 2px 2px 2px grey;
}

.block {
    display: block;
    width: 100%;
    border: none;
    background-color: rgb(85, 179, 85);
    color: white;
    padding: 14px 28px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
}

.block:hover {
    background-color: #ddd;
    color: black;
}

/* fim Style the active class, and buttons on mouse-over Button "Load More Images" */


/* inicio Extra ZOOM*/

#zoom {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    cursor: zoom-out;
    /*aumenta a imagem sem overflow lateral - incompativel com o weelzoom*/
    margin: auto;
    height: 100%;
    width: 100%;
    object-fit: contain;
    transform-origin: 0px 0px;
    transform: scale(1) translate(0px, 0px);
    cursor: grab;
}

div#zoom>img {
    width: 100%;
    height: auto;
}

/* fim Extra ZOOM*/

/* início Style the active class, and buttons on mouse-over Button "Load More Images" */
.active {
    color: darkgreen;
    font-weight: bold;
    text-shadow: 2px 2px 2px grey;
}

.block {
    display: block;
    width: 100%;
    border: none;
    background-color: rgb(85, 179, 85);
    color: white;
    padding: 14px 28px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
}

.block:hover {
    background-color: #ddd;
    color: black;
}

/* fim Style the active class, and buttons on mouse-over Button "Load More Images" */